<template>
  <div class="article">
    文章详情 {{ route.params.id }}
  </div>
</template>

<script lang="ts" setup>
import { ref, reactive,  } from "vue" 
import { useRoute, useRouter } from 'vue-router'

// 路由
const route = useRoute();
const router = useRouter();

</script>

<style lang="less" scoped>

</style>